.class public Lcom/xingbook/park/activity/LoginAct;
.super Lcom/xingbook/park/activity/BaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/xingbook/ui/x;


# instance fields
.field a:Lcom/xingbook/park/ui/LogoutDeviceView;

.field private b:Landroid/widget/EditText;

.field private c:Landroid/widget/EditText;

.field private d:Lcom/xingbook/ui/XbLayout;

.field private e:Lcom/tencent/tauth/c;

.field private f:Lcom/sina/weibo/sdk/a/a/a;

.field private g:I

.field private h:Ljava/lang/String;

.field private i:Z

.field private l:Landroid/app/ProgressDialog;

.field private m:Z

.field private n:Ljava/lang/String;

.field private final o:Lcom/xingbook/park/activity/al;

.field private p:Lcom/xingbook/park/activity/am;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    const/4 v0, 0x0

    invoke-direct {p0}, Lcom/xingbook/park/activity/BaseActivity;-><init>()V

    iput v0, p0, Lcom/xingbook/park/activity/LoginAct;->g:I

    iput-object v1, p0, Lcom/xingbook/park/activity/LoginAct;->h:Ljava/lang/String;

    iput-boolean v0, p0, Lcom/xingbook/park/activity/LoginAct;->i:Z

    iput-boolean v0, p0, Lcom/xingbook/park/activity/LoginAct;->m:Z

    iput-object v1, p0, Lcom/xingbook/park/activity/LoginAct;->n:Ljava/lang/String;

    new-instance v0, Lcom/xingbook/park/activity/al;

    invoke-direct {v0, p0}, Lcom/xingbook/park/activity/al;-><init>(Lcom/xingbook/park/activity/LoginAct;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->o:Lcom/xingbook/park/activity/al;

    new-instance v0, Lcom/xingbook/park/activity/am;

    invoke-direct {v0, p0}, Lcom/xingbook/park/activity/am;-><init>(Lcom/xingbook/park/activity/LoginAct;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->p:Lcom/xingbook/park/activity/am;

    return-void
.end method

.method private a()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->l:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->l:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->l:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    :cond_0
    return-void
.end method

.method private a(ILjava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
    .locals 9

    iget-boolean v0, p0, Lcom/xingbook/park/activity/LoginAct;->m:Z

    if-eqz v0, :cond_0

    :goto_0
    return-void

    :cond_0
    const-string v0, "\u6b63\u5728\u767b\u5f55..."

    invoke-direct {p0, v0}, Lcom/xingbook/park/activity/LoginAct;->a(Ljava/lang/String;)V

    sget-object v8, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v0, Lcom/xingbook/park/activity/ah;

    move-object v1, p0

    move v2, p1

    move-object v3, p2

    move-object v4, p3

    move v5, p4

    move-object v6, p5

    move-object v7, p6

    invoke-direct/range {v0 .. v7}, Lcom/xingbook/park/activity/ah;-><init>(Lcom/xingbook/park/activity/LoginAct;ILjava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V

    invoke-interface {v8, v0}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    goto :goto_0
.end method

.method public static final a(Landroid/content/Context;)V
    .locals 2

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/xingbook/park/activity/LoginAct;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    instance-of v1, p0, Landroid/app/Activity;

    if-nez v1, :cond_0

    const/high16 v1, 0x1000

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    :cond_0
    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/park/activity/LoginAct;ILjava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
    .locals 0

    invoke-direct/range {p0 .. p6}, Lcom/xingbook/park/activity/LoginAct;->a(ILjava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/park/activity/LoginAct;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/park/activity/LoginAct;->a(Ljava/lang/String;)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->l:Landroid/app/ProgressDialog;

    if-nez v0, :cond_0

    new-instance v0, Landroid/app/ProgressDialog;

    invoke-direct {v0, p0}, Landroid/app/ProgressDialog;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->l:Landroid/app/ProgressDialog;

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->l:Landroid/app/ProgressDialog;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setCancelable(Z)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->l:Landroid/app/ProgressDialog;

    invoke-virtual {v0, p1}, Landroid/app/ProgressDialog;->setMessage(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->l:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->l:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->show()V

    :cond_1
    return-void
.end method

.method static synthetic a(Lcom/xingbook/park/activity/LoginAct;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/xingbook/park/activity/LoginAct;->i:Z

    return v0
.end method

.method static synthetic b(Lcom/xingbook/park/activity/LoginAct;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->n:Ljava/lang/String;

    return-object v0
.end method

.method private b()V
    .locals 1

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/xingbook/park/activity/LoginAct;->m:Z

    invoke-virtual {p0}, Lcom/xingbook/park/activity/LoginAct;->finish()V

    return-void
.end method

.method static synthetic b(Lcom/xingbook/park/activity/LoginAct;Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/activity/LoginAct;->h:Ljava/lang/String;

    return-void
.end method

.method static synthetic c(Lcom/xingbook/park/activity/LoginAct;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/park/activity/LoginAct;->b()V

    return-void
.end method

.method static synthetic d(Lcom/xingbook/park/activity/LoginAct;)Lcom/tencent/tauth/c;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->e:Lcom/tencent/tauth/c;

    return-object v0
.end method

.method static synthetic e(Lcom/xingbook/park/activity/LoginAct;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/park/activity/LoginAct;->a()V

    return-void
.end method

.method static synthetic f(Lcom/xingbook/park/activity/LoginAct;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->h:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic g(Lcom/xingbook/park/activity/LoginAct;)Lcom/xingbook/park/activity/al;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->o:Lcom/xingbook/park/activity/al;

    return-object v0
.end method

.method static synthetic h(Lcom/xingbook/park/activity/LoginAct;)Lcom/xingbook/park/activity/am;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->p:Lcom/xingbook/park/activity/am;

    return-object v0
.end method

.method static synthetic i(Lcom/xingbook/park/activity/LoginAct;)Lcom/xingbook/ui/XbLayout;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    return-object v0
.end method

.method static synthetic j(Lcom/xingbook/park/activity/LoginAct;)I
    .locals 1

    iget v0, p0, Lcom/xingbook/park/activity/LoginAct;->g:I

    return v0
.end method

.method static synthetic k(Lcom/xingbook/park/activity/LoginAct;)Landroid/widget/EditText;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->b:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic l(Lcom/xingbook/park/activity/LoginAct;)Landroid/widget/EditText;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->c:Landroid/widget/EditText;

    return-object v0
.end method


# virtual methods
.method public a(I)V
    .locals 1

    const/4 v0, 0x1

    if-eq p1, v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/LoginAct;->setContentView(Landroid/view/View;)V

    :cond_0
    return-void
.end method

.method public a(Ljava/util/HashMap;)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->a:Lcom/xingbook/park/ui/LogoutDeviceView;

    if-nez v0, :cond_0

    new-instance v0, Lcom/xingbook/park/ui/LogoutDeviceView;

    invoke-direct {v0, p0}, Lcom/xingbook/park/ui/LogoutDeviceView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->a:Lcom/xingbook/park/ui/LogoutDeviceView;

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->a:Lcom/xingbook/park/ui/LogoutDeviceView;

    const v1, -0xa0a0b

    invoke-virtual {v0, v1}, Lcom/xingbook/park/ui/LogoutDeviceView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->a:Lcom/xingbook/park/ui/LogoutDeviceView;

    new-instance v1, Lcom/xingbook/park/activity/af;

    invoke-direct {v1, p0}, Lcom/xingbook/park/activity/af;-><init>(Lcom/xingbook/park/activity/LoginAct;)V

    iput-object v1, v0, Lcom/xingbook/park/ui/LogoutDeviceView;->a:Lcom/xingbook/park/ui/y;

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->a:Lcom/xingbook/park/ui/LogoutDeviceView;

    invoke-virtual {v0, p1, p0, p0}, Lcom/xingbook/park/ui/LogoutDeviceView;->a(Ljava/util/HashMap;Lcom/xingbook/ui/x;Landroid/app/Activity;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->a:Lcom/xingbook/park/ui/LogoutDeviceView;

    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/LoginAct;->setContentView(Landroid/view/View;)V

    return-void
.end method

.method public e()Ljava/lang/String;
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u7528\u6237\u767b\u5f55"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 1

    invoke-super {p0, p1, p2, p3}, Lcom/xingbook/park/activity/BaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->f:Lcom/sina/weibo/sdk/a/a/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->f:Lcom/sina/weibo/sdk/a/a/a;

    invoke-virtual {v0, p1, p2, p3}, Lcom/sina/weibo/sdk/a/a/a;->a(IILandroid/content/Intent;)V

    :cond_0
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 6

    const/4 v5, 0x0

    const/4 v4, 0x0

    const/4 v3, 0x1

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/app/Activity;)V

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    iput v5, p0, Lcom/xingbook/park/activity/LoginAct;->g:I

    iput-object v4, p0, Lcom/xingbook/park/activity/LoginAct;->h:Ljava/lang/String;

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->b:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/park/activity/LoginAct;->c:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-interface {v0}, Landroid/text/Editable;->length()I

    move-result v2

    if-eqz v2, :cond_1

    invoke-interface {v1}, Landroid/text/Editable;->length()I

    move-result v2

    if-nez v2, :cond_2

    :cond_1
    const-string v0, "\u8d26\u53f7\u6216\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a\uff01"

    invoke-static {p0, v0, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0

    :cond_2
    new-instance v2, Landroid/app/ProgressDialog;

    invoke-direct {v2, p0}, Landroid/app/ProgressDialog;-><init>(Landroid/content/Context;)V

    invoke-virtual {v2, v5}, Landroid/app/ProgressDialog;->setCancelable(Z)V

    const-string v3, "\u6b63\u5728\u767b\u5f55..."

    invoke-virtual {v2, v3}, Landroid/app/ProgressDialog;->setMessage(Ljava/lang/CharSequence;)V

    invoke-virtual {v2}, Landroid/app/ProgressDialog;->show()V

    sget-object v3, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v4, Lcom/xingbook/park/activity/ad;

    invoke-direct {v4, p0, v0, v1, v2}, Lcom/xingbook/park/activity/ad;-><init>(Lcom/xingbook/park/activity/LoginAct;Landroid/text/Editable;Landroid/text/Editable;Landroid/app/ProgressDialog;)V

    invoke-interface {v3, v4}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    goto :goto_0

    :pswitch_2
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/xingbook/park/activity/FindpwdAct;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/LoginAct;->startActivity(Landroid/content/Intent;)V

    invoke-direct {p0}, Lcom/xingbook/park/activity/LoginAct;->b()V

    goto :goto_0

    :pswitch_3
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/xingbook/park/activity/RegAct;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "com.xingbook.park.activity.RegAct_TOACCOUNTMANAGERACT"

    iget-boolean v2, p0, Lcom/xingbook/park/activity/LoginAct;->i:Z

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/LoginAct;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v3}, Lcom/xingbook/park/activity/LoginAct;->setResult(I)V

    invoke-direct {p0}, Lcom/xingbook/park/activity/LoginAct;->b()V

    goto :goto_0

    :pswitch_4
    iput v3, p0, Lcom/xingbook/park/activity/LoginAct;->g:I

    iput-object v4, p0, Lcom/xingbook/park/activity/LoginAct;->h:Ljava/lang/String;

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->e:Lcom/tencent/tauth/c;

    invoke-virtual {v0}, Lcom/tencent/tauth/c;->a()Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->e:Lcom/tencent/tauth/c;

    invoke-virtual {v0, p0}, Lcom/tencent/tauth/c;->a(Landroid/content/Context;)V

    :cond_3
    iget-object v0, p0, Lcom/xingbook/park/activity/LoginAct;->e:Lcom/tencent/tauth/c;

    const-string v1, "all"

    new-instance v2, Lcom/xingbook/park/activity/ai;

    invoke-direct {v2, p0}, Lcom/xingbook/park/activity/ai;-><init>(Lcom/xingbook/park/activity/LoginAct;)V

    invoke-virtual {v0, p0, v1, v2}, Lcom/tencent/tauth/c;->a(Landroid/app/Activity;Ljava/lang/String;Lcom/tencent/tauth/b;)I

    goto/16 :goto_0

    :pswitch_5
    const/4 v0, 0x3

    iput v0, p0, Lcom/xingbook/park/activity/LoginAct;->g:I

    iput-object v4, p0, Lcom/xingbook/park/activity/LoginAct;->h:Ljava/lang/String;

    new-instance v0, Lcom/tencent/mm/sdk/openapi/h;

    invoke-direct {v0}, Lcom/tencent/mm/sdk/openapi/h;-><init>()V

    const-string v1, "snsapi_userinfo"

    iput-object v1, v0, Lcom/tencent/mm/sdk/openapi/h;->b:Ljava/lang/String;

    const-string v1, "wechat_sdk_demo_test"

    iput-object v1, v0, Lcom/tencent/mm/sdk/openapi/h;->c:Ljava/lang/String;

    sget-object v1, Lcom/xingbook/c/n;->a:Lcom/tencent/mm/sdk/openapi/e;

    if-nez v1, :cond_4

    const-string v1, "wx7b44c2f05cfcf1be"

    invoke-static {p0, v1, v3}, Lcom/tencent/mm/sdk/openapi/o;->a(Landroid/content/Context;Ljava/lang/String;Z)Lcom/tencent/mm/sdk/openapi/e;

    move-result-object v1

    sput-object v1, Lcom/xingbook/c/n;->a:Lcom/tencent/mm/sdk/openapi/e;

    sget-object v1, Lcom/xingbook/c/n;->a:Lcom/tencent/mm/sdk/openapi/e;

    const-string v2, "wx7b44c2f05cfcf1be"

    invoke-interface {v1, v2}, Lcom/tencent/mm/sdk/openapi/e;->a(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_4

    sput-object v4, Lcom/xingbook/c/n;->a:Lcom/tencent/mm/sdk/openapi/e;

    :cond_4
    sget-object v1, Lcom/xingbook/c/n;->a:Lcom/tencent/mm/sdk/openapi/e;

    if-eqz v1, :cond_5

    new-instance v1, Lcom/xingbook/park/activity/ae;

    invoke-direct {v1, p0}, Lcom/xingbook/park/activity/ae;-><init>(Lcom/xingbook/park/activity/LoginAct;)V

    sput-object v1, Lcom/xingbook/park/wxapi/WXEntryActivity;->a:Lcom/tencent/mm/sdk/openapi/f;

    sget-object v1, Lcom/xingbook/c/n;->a:Lcom/tencent/mm/sdk/openapi/e;

    invoke-interface {v1, v0}, Lcom/tencent/mm/sdk/openapi/e;->a(Lcom/tencent/mm/sdk/openapi/a;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, "\u672c\u6b21\u767b\u5f55\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5\uff01\uff01"

    invoke-static {p0, v0, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_0

    :cond_5
    const-string v0, "\u60a8\u6ca1\u6709\u5b89\u88c5\u5fae\u4fe1\u6216\u8005\u5fae\u4fe1\u7248\u672c\u592a\u4f4e\uff0c\u5b89\u88c5\u5fae\u4fe1\u540e\u518d\u8bd5\u5427\uff01"

    invoke-static {p0, v0, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x3
        :pswitch_2
        :pswitch_1
        :pswitch_3
        :pswitch_0
        :pswitch_4
        :pswitch_0
        :pswitch_5
    .end packed-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 17

    invoke-super/range {p0 .. p1}, Lcom/xingbook/park/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-virtual/range {p0 .. p0}, Lcom/xingbook/park/activity/LoginAct;->getIntent()Landroid/content/Intent;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v1

    if-eqz v1, :cond_0

    const-string v2, "com.xingbook.park.activity.LoginAct_TOACCOUNTMANAGERACT"

    invoke-virtual {v1, v2}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z

    move-result v2

    move-object/from16 v0, p0

    iput-boolean v2, v0, Lcom/xingbook/park/activity/LoginAct;->i:Z

    const-string v2, "com.xingbook.park.activity.INTENT_FROMACTIVITY"

    invoke-virtual {v1, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    move-object/from16 v0, p0

    iput-object v1, v0, Lcom/xingbook/park/activity/LoginAct;->n:Ljava/lang/String;

    :cond_0
    const-string v1, "100970050"

    invoke-virtual/range {p0 .. p0}, Lcom/xingbook/park/activity/LoginAct;->getApplicationContext()Landroid/content/Context;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/tencent/tauth/c;->a(Ljava/lang/String;Landroid/content/Context;)Lcom/tencent/tauth/c;

    move-result-object v1

    move-object/from16 v0, p0

    iput-object v1, v0, Lcom/xingbook/park/activity/LoginAct;->e:Lcom/tencent/tauth/c;

    new-instance v1, Lcom/xingbook/ui/XbLayout;

    move-object/from16 v0, p0

    invoke-direct {v1, v0}, Lcom/xingbook/ui/XbLayout;-><init>(Landroid/content/Context;)V

    move-object/from16 v0, p0

    iput-object v1, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    const/4 v2, 0x6

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/XbLayout;->setId(I)V

    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/XbLayout;->setClickable(Z)V

    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    move-object/from16 v0, p0

    invoke-virtual {v1, v0}, Lcom/xingbook/ui/XbLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    const v2, -0xa0a0b

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/XbLayout;->setBackgroundColor(I)V

    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/XbLayout;->setScrollContainer(Z)V

    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/XbLayout;->setVerticalScrollBarEnabled(Z)V

    new-instance v1, Lcom/xingbook/ui/t;

    const/4 v2, 0x0

    move-object/from16 v0, p0

    invoke-direct {v1, v0, v2}, Lcom/xingbook/ui/t;-><init>(Landroid/app/Activity;Lcom/xingbook/ui/x;)V

    const-string v2, "\u7528\u6237\u767b\u5f55"

    iput-object v2, v1, Lcom/xingbook/ui/t;->c:Ljava/lang/String;

    const v2, -0xe64c12

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/t;->setBackgroundColor(I)V

    const/4 v2, 0x0

    const/4 v3, 0x0

    invoke-static/range {p0 .. p0}, Lcom/xingbook/c/n;->c(Landroid/app/Activity;)I

    move-result v4

    sget v5, Lcom/xingbook/ui/t;->b:I

    invoke-virtual {v1, v2, v3, v4, v5}, Lcom/xingbook/ui/t;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v2, v1}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    invoke-static/range {p0 .. p0}, Lcom/xingbook/c/n;->f(Landroid/app/Activity;)F

    move-result v8

    const/high16 v1, 0x42c8

    mul-float/2addr v1, v8

    invoke-static {v1}, Ljava/lang/Math;->round(F)I

    move-result v9

    const/high16 v1, 0x41a0

    mul-float/2addr v1, v8

    invoke-static {v1}, Ljava/lang/Math;->round(F)I

    move-result v10

    const/high16 v1, 0x41a0

    mul-float/2addr v1, v8

    invoke-static {v1}, Ljava/lang/Math;->round(F)I

    move-result v11

    sget v1, Lcom/xingbook/ui/t;->b:I

    add-int v7, v1, v11

    invoke-static/range {p0 .. p0}, Lcom/xingbook/c/n;->c(Landroid/app/Activity;)I

    move-result v1

    sub-int v12, v1, v10

    const/high16 v1, 0x41a0

    mul-float/2addr v1, v8

    invoke-static {v1}, Ljava/lang/Math;->round(F)I

    move-result v13

    new-instance v1, Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    invoke-direct {v1, v0}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    const-string v2, "\u8d26\u53f7"

    iput-object v2, v1, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    const/high16 v2, 0x4238

    mul-float/2addr v2, v8

    iput v2, v1, Lcom/xingbook/ui/ad;->c:F

    const v2, -0x99999a

    iput v2, v1, Lcom/xingbook/ui/ad;->b:I

    const/4 v2, -0x1

    iput v2, v1, Lcom/xingbook/ui/ad;->i:I

    const/16 v2, 0x13

    iput v2, v1, Lcom/xingbook/ui/ad;->d:I

    const v2, -0x777778

    const/4 v3, 0x1

    const/4 v4, 0x1

    const/4 v5, 0x1

    const/4 v6, 0x0

    invoke-virtual/range {v1 .. v6}, Lcom/xingbook/ui/ad;->a(IIIII)V

    iput v13, v1, Lcom/xingbook/ui/ad;->l:I

    add-int v2, v7, v9

    invoke-virtual {v1, v10, v7, v12, v2}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v2, v1}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    mul-int/lit8 v2, v13, 0x2

    add-int/2addr v2, v10

    iget v3, v1, Lcom/xingbook/ui/ad;->c:F

    const/high16 v4, 0x4000

    mul-float/2addr v3, v4

    invoke-static {v3}, Ljava/lang/Math;->round(F)I

    move-result v3

    add-int v14, v2, v3

    sub-int v15, v12, v13

    new-instance v2, Landroid/widget/EditText;

    move-object/from16 v0, p0

    invoke-direct {v2, v0}, Landroid/widget/EditText;-><init>(Landroid/content/Context;)V

    move-object/from16 v0, p0

    iput-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->b:Landroid/widget/EditText;

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->b:Landroid/widget/EditText;

    sub-int v3, v15, v14

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setWidth(I)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->b:Landroid/widget/EditText;

    invoke-virtual {v2, v9}, Landroid/widget/EditText;->setHeight(I)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->b:Landroid/widget/EditText;

    const/4 v3, 0x0

    const/high16 v4, 0x4238

    mul-float/2addr v4, v8

    invoke-virtual {v2, v3, v4}, Landroid/widget/EditText;->setTextSize(IF)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->b:Landroid/widget/EditText;

    const v3, -0xa5440a

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setTextColor(I)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->b:Landroid/widget/EditText;

    const-string v3, "\u6635\u79f0/\u90ae\u7bb1/\u624b\u673a\u53f7"

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->b:Landroid/widget/EditText;

    const v3, -0x555556

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setHintTextColor(I)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->b:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->setSingleLine()V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->b:Landroid/widget/EditText;

    const/16 v3, 0x10

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setGravity(I)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->b:Landroid/widget/EditText;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setBackgroundResource(I)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->b:Landroid/widget/EditText;

    add-int v16, v7, v9

    move/from16 v0, v16

    invoke-virtual {v2, v14, v7, v15, v0}, Landroid/widget/EditText;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/xingbook/park/activity/LoginAct;->b:Landroid/widget/EditText;

    invoke-virtual {v2, v3}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v1}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v2

    const-string v3, "\u5bc6\u7801"

    iput-object v3, v2, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    const v3, -0x777778

    const/4 v4, 0x1

    const/4 v5, 0x4

    const/4 v6, 0x1

    const/4 v7, 0x1

    invoke-virtual/range {v2 .. v7}, Lcom/xingbook/ui/ad;->a(IIIII)V

    add-int v3, v16, v9

    move/from16 v0, v16

    invoke-virtual {v2, v10, v0, v12, v3}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v3, v2}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/EditText;

    move-object/from16 v0, p0

    invoke-direct {v2, v0}, Landroid/widget/EditText;-><init>(Landroid/content/Context;)V

    move-object/from16 v0, p0

    iput-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->c:Landroid/widget/EditText;

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->c:Landroid/widget/EditText;

    sub-int v3, v15, v14

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setWidth(I)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->c:Landroid/widget/EditText;

    invoke-virtual {v2, v9}, Landroid/widget/EditText;->setHeight(I)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->c:Landroid/widget/EditText;

    const/4 v3, 0x0

    const/high16 v4, 0x4238

    mul-float/2addr v4, v8

    invoke-virtual {v2, v3, v4}, Landroid/widget/EditText;->setTextSize(IF)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->c:Landroid/widget/EditText;

    const v3, -0xa5440a

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setTextColor(I)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->c:Landroid/widget/EditText;

    const-string v3, "\u8bf7\u8f93\u5165\u5bc6\u7801"

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->c:Landroid/widget/EditText;

    const v3, -0x555556

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setHintTextColor(I)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->c:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->setSingleLine()V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->c:Landroid/widget/EditText;

    const/16 v3, 0x81

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setInputType(I)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->c:Landroid/widget/EditText;

    const/16 v3, 0x10

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setGravity(I)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->c:Landroid/widget/EditText;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setBackgroundResource(I)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->c:Landroid/widget/EditText;

    add-int v3, v16, v9

    move/from16 v0, v16

    invoke-virtual {v2, v14, v0, v15, v3}, Landroid/widget/EditText;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/activity/LoginAct;->c:Landroid/widget/EditText;

    invoke-virtual {v2, v4}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    mul-int/lit8 v2, v11, 0x2

    add-int v7, v3, v2

    invoke-virtual {v1}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v1

    move-object/from16 v0, p0

    invoke-virtual {v1, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const/4 v2, 0x4

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/ad;->setId(I)V

    const/high16 v2, 0x4120

    iput v2, v1, Lcom/xingbook/ui/ad;->j:F

    const-string v2, "\u767b\u5f55"

    iput-object v2, v1, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    const/4 v2, -0x1

    iput v2, v1, Lcom/xingbook/ui/ad;->b:I

    const/4 v2, 0x0

    iput-object v2, v1, Lcom/xingbook/ui/ad;->f:Ljava/lang/String;

    const v2, -0x932fb9

    iput v2, v1, Lcom/xingbook/ui/ad;->i:I

    const/16 v2, 0x11

    iput v2, v1, Lcom/xingbook/ui/ad;->d:I

    const/4 v2, 0x0

    const/4 v3, 0x1

    const/4 v4, 0x1

    const/4 v5, 0x1

    const/4 v6, 0x1

    invoke-virtual/range {v1 .. v6}, Lcom/xingbook/ui/ad;->a(IIIII)V

    const/4 v2, 0x0

    iput v2, v1, Lcom/xingbook/ui/ad;->l:I

    const v2, -0xff9934

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/ad;->setHilighted(I)V

    add-int v2, v7, v9

    invoke-virtual {v1, v10, v7, v12, v2}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v3, v1}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    add-int v1, v2, v11

    new-instance v2, Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    invoke-direct {v2, v0}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    move-object/from16 v0, p0

    invoke-virtual {v2, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const/4 v3, 0x3

    invoke-virtual {v2, v3}, Lcom/xingbook/ui/ad;->setId(I)V

    iput v13, v2, Lcom/xingbook/ui/ad;->l:I

    const-string v3, "\u5fd8\u8bb0\u5bc6\u7801\uff1f"

    iput-object v3, v2, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    const/high16 v3, 0x4238

    mul-float/2addr v3, v8

    iput v3, v2, Lcom/xingbook/ui/ad;->c:F

    const v3, -0xa5440a

    iput v3, v2, Lcom/xingbook/ui/ad;->b:I

    const/16 v3, 0x15

    iput v3, v2, Lcom/xingbook/ui/ad;->d:I

    const/4 v3, 0x0

    const/16 v4, -0x66d6

    invoke-virtual {v2, v3, v4}, Lcom/xingbook/ui/ad;->a(II)V

    invoke-virtual {v2}, Lcom/xingbook/ui/ad;->getTextWidth()F

    move-result v3

    mul-int/lit8 v4, v13, 0x2

    int-to-float v4, v4

    add-float/2addr v3, v4

    float-to-int v3, v3

    add-int/2addr v3, v10

    add-int v4, v1, v9

    invoke-virtual {v2, v10, v1, v3, v4}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v3, v2}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v2}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v2

    move-object/from16 v0, p0

    invoke-virtual {v2, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const/4 v3, 0x5

    invoke-virtual {v2, v3}, Lcom/xingbook/ui/ad;->setId(I)V

    const-string v3, "\u6ce8\u518c\u8d26\u53f7"

    iput-object v3, v2, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    invoke-virtual {v2}, Lcom/xingbook/ui/ad;->getTextWidth()F

    move-result v3

    mul-int/lit8 v4, v13, 0x2

    int-to-float v4, v4

    add-float/2addr v3, v4

    float-to-int v3, v3

    sub-int v3, v12, v3

    add-int v4, v1, v9

    invoke-virtual {v2, v3, v1, v12, v4}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    add-int v1, v4, v11

    new-instance v2, Lcom/xingbook/ui/ai;

    move-object/from16 v0, p0

    invoke-direct {v2, v0}, Lcom/xingbook/ui/ai;-><init>(Landroid/content/Context;)V

    const-string v3, "\u5feb\u901f\u767b\u5f55"

    iput-object v3, v2, Lcom/xingbook/ui/ai;->a:Ljava/lang/String;

    const/high16 v3, 0x4240

    mul-float/2addr v3, v8

    iput v3, v2, Lcom/xingbook/ui/ai;->c:F

    const v3, -0x555556

    iput v3, v2, Lcom/xingbook/ui/ai;->b:I

    const v3, -0x777778

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-virtual {v2, v3, v4, v5}, Lcom/xingbook/ui/ai;->a(IFF)V

    const/16 v3, 0xa

    iput v3, v2, Lcom/xingbook/ui/ai;->f:I

    add-int v3, v1, v9

    invoke-virtual {v2, v10, v1, v12, v3}, Lcom/xingbook/ui/ai;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    add-int v1, v3, v11

    const/high16 v2, 0x4358

    mul-float/2addr v2, v8

    invoke-static {v2}, Ljava/lang/Math;->round(F)I

    move-result v2

    invoke-static/range {p0 .. p0}, Lcom/xingbook/c/n;->c(Landroid/app/Activity;)I

    move-result v3

    mul-int/lit8 v4, v2, 0x2

    sub-int/2addr v3, v4

    div-int/lit8 v3, v3, 0x3

    new-instance v4, Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    invoke-direct {v4, v0}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    invoke-virtual/range {p0 .. p0}, Lcom/xingbook/park/activity/LoginAct;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    const v6, 0x7f0201f1

    invoke-static {v5, v6}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v5

    iput-object v5, v4, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    const/4 v5, 0x7

    invoke-virtual {v4, v5}, Lcom/xingbook/ui/ad;->setId(I)V

    move-object/from16 v0, p0

    invoke-virtual {v4, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v5, -0xe64c12

    iput v5, v4, Lcom/xingbook/ui/ad;->i:I

    const/4 v5, 0x1

    iput-boolean v5, v4, Lcom/xingbook/ui/ad;->p:Z

    div-int/lit8 v5, v2, 0x2

    int-to-float v5, v5

    iput v5, v4, Lcom/xingbook/ui/ad;->j:F

    const v5, -0x2a2a2b

    invoke-virtual {v4, v5}, Lcom/xingbook/ui/ad;->setHilighted(I)V

    add-int v5, v3, v2

    add-int v6, v1, v2

    invoke-virtual {v4, v3, v1, v5, v6}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v5, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v5, v4}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    const/high16 v5, 0x42b4

    mul-float/2addr v5, v8

    invoke-static {v5}, Ljava/lang/Math;->round(F)I

    move-result v5

    new-instance v6, Lcom/xingbook/ui/ad;

    move-object/from16 v0, p0

    invoke-direct {v6, v0}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    const/4 v7, 0x7

    invoke-virtual {v6, v7}, Lcom/xingbook/ui/ad;->setId(I)V

    move-object/from16 v0, p0

    invoke-virtual {v6, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const-string v7, "QQ\u767b\u5f55"

    iput-object v7, v6, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    const/high16 v7, 0x4220

    mul-float/2addr v7, v8

    iput v7, v6, Lcom/xingbook/ui/ad;->c:F

    const v7, -0x99999a

    iput v7, v6, Lcom/xingbook/ui/ad;->b:I

    const/16 v7, 0x11

    iput v7, v6, Lcom/xingbook/ui/ad;->d:I

    const/4 v7, 0x0

    const/16 v8, -0x66d6

    invoke-virtual {v6, v7, v8}, Lcom/xingbook/ui/ad;->a(II)V

    add-int v7, v1, v2

    add-int v8, v3, v2

    add-int v9, v1, v2

    add-int/2addr v9, v5

    invoke-virtual {v6, v3, v7, v8, v9}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v7, v6}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v4}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v4

    invoke-virtual/range {p0 .. p0}, Lcom/xingbook/park/activity/LoginAct;->getResources()Landroid/content/res/Resources;

    move-result-object v7

    const v8, 0x7f0201f2

    invoke-static {v7, v8}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v7

    iput-object v7, v4, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    const/16 v7, 0x9

    invoke-virtual {v4, v7}, Lcom/xingbook/ui/ad;->setId(I)V

    move-object/from16 v0, p0

    invoke-virtual {v4, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v7, -0xc34fcc

    iput v7, v4, Lcom/xingbook/ui/ad;->i:I

    mul-int/lit8 v7, v3, 0x2

    add-int/2addr v7, v2

    mul-int/lit8 v8, v3, 0x2

    mul-int/lit8 v9, v2, 0x2

    add-int/2addr v8, v9

    add-int v9, v1, v2

    invoke-virtual {v4, v7, v1, v8, v9}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v7, v4}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v6}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v4

    const/16 v6, 0x9

    invoke-virtual {v4, v6}, Lcom/xingbook/ui/ad;->setId(I)V

    move-object/from16 v0, p0

    invoke-virtual {v4, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const-string v6, "\u5fae\u4fe1\u767b\u5f55"

    iput-object v6, v4, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    mul-int/lit8 v6, v3, 0x2

    add-int/2addr v6, v2

    add-int v7, v1, v2

    mul-int/lit8 v3, v3, 0x2

    mul-int/lit8 v8, v2, 0x2

    add-int/2addr v3, v8

    add-int/2addr v1, v2

    add-int/2addr v1, v5

    invoke-virtual {v4, v6, v7, v3, v1}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v1, v4}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/xingbook/park/activity/LoginAct;->d:Lcom/xingbook/ui/XbLayout;

    move-object/from16 v0, p0

    invoke-virtual {v0, v1}, Lcom/xingbook/park/activity/LoginAct;->setContentView(Landroid/view/View;)V

    return-void
.end method

.method protected onDestroy()V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/park/activity/LoginAct;->a()V

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onDestroy()V

    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 2

    invoke-virtual {p2}, Landroid/view/KeyEvent;->getKeyCode()I

    move-result v0

    const/4 v1, 0x4

    if-ne v0, v1, :cond_0

    invoke-direct {p0}, Lcom/xingbook/park/activity/LoginAct;->b()V

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method protected onPause()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onPause()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onPause(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/LoginAct;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->b(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->a(Landroid/content/Context;)V

    return-void
.end method

.method protected onResume()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onResume()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onResume(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/LoginAct;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->b(Landroid/content/Context;)V

    return-void
.end method
